import request from '@/utils/request'

export function listCar(query) {
  return request({
    url: '/system/car/list',
    method: 'get',
    params: query
  })
}
export function selectList(query) {
  return request({
    url: '/system/car/selectList',
    method: 'get',
    params: query
  })
}
export function delCar(compFeeIds) {
  return request({
    url: '/system/car/' + compFeeIds,
    method: 'delete'
  })
}
export function carAdd(data) {
  return request({
    url: '/system/car',
    method: 'post',
    data: data
  })
}
export function updategcar(data) {
  return request({
    url: '/system/car',
    method: 'put',
    data: data
  })
}
export function carInfo(query) {
  return request({
    url: '/system/car/' + query,
    method: 'get',
  })
}